<?php

namespace App\Policies;

use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;

use App\Models\Status;
<<<<<<< HEAD

=======
>>>>>>> user-statuses
class StatusPolicy
{
    use HandlesAuthorization;

    /**
     * Create a new policy instance.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }
<<<<<<< HEAD

    public function destroy(User $user, Status $status)
     {
         return $user->id === $status->user_id;
     }
=======
    public function destroy(User $user, Status $status)
  {
      return $user->id === $status->user_id;
  }
>>>>>>> user-statuses
}
